package com.example.mybatis.service;

import com.example.mybatis.bean.Catalogue;
import com.example.mybatis.utils.ResultUtil;

import java.util.List;

public interface CatalogueService {
    ResultUtil selectList(String name);

    ResultUtil insert(Catalogue catalogue);

    ResultUtil getById(Integer id);

    ResultUtil update(Catalogue catalogue);

    ResultUtil removeById(List<Integer> id);
}
